<template>
  <div>供应商平台使用说明: 系统检测,如果登录的账号为内部账号(vendor###),则[供应商]输入框为可输入状态,否则为不可收入状态.</div>
  <div >

  <div id="ss" style="width: 600px ; height: 400px"></div>
  </div>
</template>
<script>
import * as echarts from 'echarts';

import { reactive, toRaw, onMounted } from "vue";
import  roma  from "src/API/EcharsThemes/roma.json";
import  dark  from "src/API/EcharsThemes/dark.json";
export default {
  setup () {
    onMounted(function () {
    // 基于准备好的dom，初始化echarts实例
    let  dom=document.getElementById('ss')
    var myChart = echarts.init(dom,dark);
// 绘制图表
    myChart.setOption({
      title: {
        text: '带有主题的示例'
      },
      tooltip: {},
      xAxis: {
        data: ['衬衫', '羊毛衫', '雪纺衫', '裤子', '高跟鞋', '袜子']
      },
      yAxis: {               },
      series: [
        {
          name: '销量',
          type: 'bar',
          data: [5, 20, 36, 10, 10, 20]
        }
      ]
    });
    });
    return {


    }
  }
}
</script>
